package org.jeecg.modules.sggg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("sg_task")
@Accessors(chain = true)
@EqualsAndHashCode()
@ApiModel(value = "任务", description = "任务")
public class SgTask implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "项目id")
    private String itemId;

    @ApiModelProperty(value = "居民id")
    private String memberId;

    @ApiModelProperty(value = "审核状态0未通过、1通过、2拒绝")
    private Integer status;

    @ApiModelProperty(value = "拒绝原因")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(exist = false)
    private String memberName;

    @TableField(exist = false)
    private String itemName;

    @TableField(exist = false)
    private String type;

    @TableField(exist = false)
    private Integer currency;
}
